package ctu.kfad.run.memory;

public class ArraySizeDescriptor {
    private final int length;
    private final int sizePerItem;
    private final int lengthInBytes;
    private final String name;

    public ArraySizeDescriptor(int length, int sizePerItem, int sizeInBytes, String name) {
        this.length = length;
        this.sizePerItem = sizePerItem;
        this.lengthInBytes = sizeInBytes;
        this.name = name;
    }

    public int getLength() {
        return length;
    }

    public int getSizePerItem() {
        return sizePerItem;
    }

    public int getLengthInBytes() {
        return lengthInBytes;
    }

    public String getName() {
        return name;
    }
}
